package com.qn.domian;


public class Collect {

  private int collectId;//收藏ID
  private int pId;// 收藏作品


  public Collect() {
  }

  public Collect(int collectId, int pId) {
    this.collectId = collectId;
    this.pId = pId;
  }

  public int getCollectId() {
    return collectId;
  }

  public void setCollectId(int collectId) {
    this.collectId = collectId;
  }

  public int getpId() {
    return pId;
  }

  public void setpId(int pId) {
    this.pId = pId;
  }

  @Override
  public String toString() {
    return "Collect{" +
            "collectId=" + collectId +
            ", pId=" + pId +
            '}';
  }
}
